<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>使用datepicker插件实现日期选择的基本操作</title>
<script type="text/javascript" src="lib/jquery-2.1.1.js"></script>
<script type="text/javascript" src="lib/jquery-ui.min.js"></script>
<style type="text/css">
	body{font-size:13px}
	.txt{border:#666 1px solid;padding:2px;width:100px;margin-right:3px;}
</style>
<script type="text/javascript">
	$(function(){
		$("#txtDate").datepicker({changeMonth:true,changeYear:true,showWeek:true,showButtonPanel:true,closeText:'Close'});
	})
</script>
</head>
<body>

	<div>
		输入日期：<input name="txtDate" id="txtDate" class="txt"/>
	</div>
	
</body>
</html>